.slide {
  position: relative;
  height: 100%;

  img {
    display: block;
    border-radius: 10px;
    width: 100%;
    height: 100%;
  }

  p {
    height: 36px;
    line-height: 36px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
    color: #fff;
    padding-left: 10px;
    text-align: left;
  }

  a {
    display: block;
    height: 100%;
  }
}

@media (min-width: 0) and (max-width: 1200px) {
  .slide {
    img {
      border-radius: 5px;
    }
  }
}
